package com.example.gymmanagebackend.service;

import com.example.gymmanagebackend.pojo.User;
import java.util.List;

public interface UserService {
    int addUser(User user);

    int updateUser(User user);
    List<User> getAllUsers();
    User findUserById(Integer id);
    User findUserByUsername(String username);
    int deleteUserById(Integer id);
    User login(String username, String password);


}